package com.czmh.etc.onlinepubsys.services;

import com.czmh.etc.onlinepubsys.json.mingchuang.UnionPayJSONResult;
import com.czmh.etc.onlinepubsys.request.mingchuang.UnionPayAddRequest;
import com.czmh.etc.onlinepubsys.request.mingchuang.UnionPayQueryRequest;

/**
 * Copyright (C), 2017-2020
 * Author: Chenzj
 * Date: 2020/12/8 20:34
 * FileName: UnionPayService
 * Description:
 *
 * @author Administrator
 */
public interface UnionPayService {
    /**
     * 新增会员接口
     *
     * @return
     */
    UnionPayJSONResult add(UnionPayAddRequest req);

    /**
     * 申请开通结算户
     *
     * @return
     */
    UnionPayJSONResult apply(UnionPayAddRequest req);

    /**
     * 结算户查询
     *
     * @return
     */
    UnionPayJSONResult query(UnionPayQueryRequest req);


    /**
     * 查询银联结算户信息
     *
     * @return
     */
    UnionPayJSONResult querySettlementAccount();

    /**
     * 修改会员信息
     *
     * @return
     */
    UnionPayJSONResult updateMember();

    /**
     * 获取支行信息
     *
     * @return
     */
    UnionPayJSONResult getSubbranchInfo();


    /**
     * 新增/更新证件
     *
     * @return
     */
    UnionPayJSONResult uploadCertificate();


    /**
     * 订单后台支付接口
     *
     * @return
     */
    UnionPayJSONResult orderPay();


    /**
     * 发送短信
     *
     * @return
     */
    UnionPayJSONResult sendMsg();


    /**
     * 提现接口
     *
     * @return
     */
    UnionPayJSONResult withdrawal();


    /**
     * 内部转账
     *
     * @return
     */
    UnionPayJSONResult insideAccount();


    /**
     * 内部转账并自动提现
     *
     * @return
     */
    UnionPayJSONResult transferAndWithdrawal();


}
